﻿#include "secondmathimplabc3.h"
#include "tools/base_math_tools.h"
SecondMathImplABC3::SecondMathImplABC3(QObject *parent)
{

}

const QString SecondMathImplABC3::fun()
{
    QString tmp ;
    int num1 ,num2,num3;

   num1 = BaseMathTools::generateRandomNumber(3, 8);
   num2 = BaseMathTools::generateRandomNumber(3, 8);
   num3 = BaseMathTools::generateRandomNumber(10, 50);
   tmp = QString::number(num1*num2) + " "+STR_DIV_OPTION+" " +  QString::number(num2) + " + "+  QString::number(num3)+ " = ";
   return tmp;
}
